import request from '@/router/axios';

export const findByProductionLine = (params) => {
  return request({
    url: '/api/prdinfo/findByProductionLine',
    method: 'get',
    params
  })
}

//产品BOM列表
export const productBomList = (productNo) => {
  return request({
    url: '/api/prdbomsap/bomTreeByPrdNo',
    method: 'get',
    params: {
      productNo
    }
  })
}
